package com.zut.proxy;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;

import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:Application02.xml")
public class Test01 {
	@Resource(name="customerService")
	private CustomerService customerService;
	@Test
public void Demo() {
	//ApplicationContext applicationContext = new ClassPathXmlApplicationContext("Application02.xml");
	//CustomerService customerService = (CustomerService) applicationContext.getBean("customerProxy");
	customerService.Say();
}
}
